package com.dwjm.exam.stu_list;

import com.dwjm.exam.pojo.Student;

import java.sql.SQLException;
import java.util.List;

public interface StudentDao {
    List<Student> List(String name, int page, int pageSize);

    int count(String name) throws SQLException;
    boolean deleteStudent(String studentId) ;

    // Add a new method for batch delete
    int deleteMultipleStudents(String[] studentIds);
    // 添加根据学生ID获取学生信息的方法
    List<Student> getStudentById(String studentId);

}
